package com.wss.merchant.domain;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wss
 * @since 2021-02-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class DlNewCommunityManager implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 社区id
     */
    private Integer cid;

    /**
     * 社区管理员名称
     */
    private String name;

    /**
     * 密码
     */
    private String password;

    /**
     * 添加账户时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Integer addtime;

    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Integer status;

    @Override
    public String toString() {
        return "DlNewCommunityManager{" +
                "id=" + id +
                ", cid=" + cid +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", addtime=" + addtime +
                '}';
    }
}
